{% if order %}
<div class="order-item-status">
    <h3>Order ID #{{ order.id }}</h3>
    <p>Placed on {{ order.created|date:"j.n.Y G:i" }}</p>
    {% if order.status == 'W' %}<p class="order-notpaid-text">Order status: The order is awaiting payment.</p>{% endif %}
    {% if order.status == 'P' %}<p class="order-processed-text">Order status: Your payment has been received and our personnel is processing your delivery.</p>{% endif %}
    {% if order.status == 'D' %}<p class="order-shipped-text">Order status: The order has been shipped on {{ order.shipped|date:"j.n.Y G:i" }}.</p>{% endif %}
</div>
{% endif %}
